mainApp.service('qfMsgListService', ['$resource',function ($resource){
    
    //查询用户订单信息
    this.getQfMsgList = function(qfMsg,pageIndex,pageSize,success,error){
        return $resource(baseUrl+"/mapi/msgGroup/list/:pageIndex/:pageSize",{pageIndex:pageIndex,pageSize:pageSize}).save(qfMsg,success,error);
    };

    //删除订单
   this.deleteQfMsgStatus = function(qfMsgId,success,error){
        return $resource(baseUrl+"/mapi/msgGroup/delete/:id",{id:qfMsgId}).get(success,error);
   };
    //修改状态
    this.updateQfMsgStatus = function (qfMsgId,success,error) {
        return $resource(baseUrl+"/mapi/msgGroup/updateRead/:id",{id:qfMsgId}).get(success, error);
    };
}]);

